Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsx/decompiler: Bugfixes and improvements #7957

Merged
merged 3 commits into from
Apr 5, 2020

Conversation

kd-11
Copy link
Contributor

@kd-11 kd-11 commented Apr 5, 2020

  • Fixes async shader decompiler which is broken on OpenGL. Crashes some drivers and shaders never appear on others due to broken inter-context communication.
  • Properly implement the DST opcode. This is based on old-school ARB/NV assembly language where the distance vector meant something completely different than modern glsl/hlsl.

This is the first part of many upcoming patches to the decompilers that are being prepped for release.

kd-11 and others added 3 commits April 5, 2020 14:16
- Removes glFinish hack.
- Adds proper server-side synchronization.
- Adds primary context detection to allow worker threads to be identified.
- It's the old-school distance vector, not the more modern distance() function
- There is seemingly no glsl function that maps to it directly.
@Nekotekina Nekotekina merged commit 0b6e2b2 into RPCS3:master Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants